﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CqusInfo.RAL.User
{
    /// <summary>
    /// tb_User_Black
    /// </summary>
    public class User_BlackModel
    {
        public string c_vc_ubId { get; set; }
        public string c_vc_admin { get; set; }
        public string c_vc_userName { get; set; }
        public Int32 c_i_type { get; set; }
        public Int32 c_i_warningNO { get; set; }
        public bool c_b_black { get; set; }
        public DateTime c_dt_dateTime { get; set; }
        public bool c_b_isDel { get; set; }

        /// <summary>
        /// 无参构造函数
        /// </summary>
        public User_BlackModel()
        {

        }

        /// <summary>
        /// 有参构造函数
        /// </summary>
        /// <param name="ubId">Id</param>
        /// <param name="admin">用户名（权限不一样，属于管理员一级）</param>
        /// <param name="userName">用户名</param>
        /// <param name="type">类型（0:以物易物 1：资源共享 2：互动专区 3：社区）</param>
        /// <param name="warningNO">警告次数（3次以上就自动拉黑）</param>
        /// <param name="black">是否拉黑(true：拉黑 false：不拉黑)</param>
        /// <param name="dateTime">拉黑时间</param>
        /// <param name="isDel">是否删除（true：已删除 false：未删除）</param>
        public User_BlackModel(string ubId, string admin, string userName, Int32 type, Int32 warningNO, bool black, DateTime dateTime, bool isDel)
        {
            this.c_vc_ubId = ubId;
            this.c_vc_admin = admin;
            this.c_vc_userName = userName;
            this.c_i_type = type;
            this.c_i_warningNO = warningNO;
            this.c_b_black = black;
            this.c_dt_dateTime = dateTime;
            this.c_b_isDel = isDel;
        }
    }
}
